Q3Polygon_New
You can use theQ3Polygon_New
function to create a new simple polygon.
TQ3GeometryObject Q3Polygon_New ( const TQ3PolygonData *polygonData);
polygonData
- A pointer to a
TQ3PolygonData
structure.DESCRIPTION
TheQ3Polygon_New
function returns, as its function result, a new simple polygon having the vertices and attributes specified by thepolygonData
parameter. If a new simple polygon could not be created,Q3Polygon_New
returns the valueNULL
.